package com.yes_iot.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.UUID;

@Entity
@Data
@Table(name = "visual_moudle_library")
public class VisualMoudleLibrary {
    @Id
    @Column(name = "id", columnDefinition = "uuid")
    private UUID id;
    @Column(name = "name")
    private String name;
    @Column(name = "seq")
    private Integer seq;
    @Column(name = "created_time")
    private Long createdTime;
    @Column(name = "dev_code")
    private String devCode;
    @Column(name = "visual_display_parent_id", columnDefinition = "uuid")
    private UUID visualDisplayParentId;

}
